import request from "@/utils/request";
import pathname from "./pathname";

export function login(data) {
  return request({
    url: pathname.authLogin,
    method: "post",
    data,
    _hasLoading: true
  });
}
